package com.vincent.kdp.util;

import com.vincent.baseapp.util.SPUtil;

/**
 * Created by zhoulq on 17/1/16.
 * 全局变量
 */

public class BaseParam {
    public static String currentBarCode = "";
    public static String isScan = "";

    private static String deviceId="0123456789012365";

    public static void setDeviceId(String devId){
        BaseParam.deviceId=devId;
    }
    public static String getDeviceId(){
        //return "862105020209668";  //111

      // return "862105020209663";     ///2222

     // return "862105020209669";     ///2222
       return deviceId;   //主

        //return BaseParam.deviceId;
        //return SPUtil.getString("DEVICE_ID");
    }

    public static String getCurrentBarCode() {
        return currentBarCode;
    }

    public static void setCurrentBarCode(String currentBarCode) {
        BaseParam.currentBarCode = currentBarCode;
    }

    public static String getIsScan() {
        return isScan;
    }

    public static void setIsScan(String isScan) {
        BaseParam.isScan = isScan;
    }
}
